home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software of the Month Club 1998 June
/
Software of the Month Club 1998 June.iso
/
pc
/
dos
/
sri
/
dtp
/
moray
/
polyscn
/
prevuscn.pi
Wrap
Text File
|
1998-04-15
|
2KB
|
131 lines
//
// Base scene for Preview
// Moray V2.0 (c) SoftTronics, '96
//
// Avoid adding any include files to this scene. The rendering of
// this file must fly!
//
viewpoint { // Camera PreviewCam
from <0.00, -8.500, 3>
at <0.000, -0.100, 0.000>
up <0.0, 0.0, 1.0> // Where Z is up
angle 30*(3/4)
aspect -4/3
}
// ******* L I G H T S *******
light // Light1
<1.000, 1.000, 1.000>,
<5.820, -8.500, 6.316>
light // Light2
<0.400, 0.400, 0.400>,
<5.820, -1.500, 3>
define FloorTxtr
texture {
checker
texture {
surface {
color <1.000, 1.000, 1.000>
diffuse 0.800
ambient 0.300
}
},
texture {
surface {
color <0.100, 0.100, 0.100>
diffuse 0.800
ambient 0.300
}
}
}
define BackdropTxtr
texture {
checker
texture {
surface {
color <1.000, 1.000, 1.000>
diffuse 0.800
ambient 0.300
}
},
texture {
surface {
color <0.100, 0.100, 0.100>
diffuse 0.800
ambient 0.300
}
}
scale <1000,0.2,0.2>
translate <500,0,0>
}
// ******** O B J E C T S *******
define Floor
object {
polynomial z+1
FloorTxtr
}
define BackDrop
object {
polynomial y-2.5
BackdropTxtr
}
define PreviewStone
object {
object {
object { box <-1,-1,-1>, <1,1,1> }
+ object { sphere <0,0,1.75>, 1 }
PreviewTexture
scale <0.6,0.6,0.6>
translate <0,0,-0.399>
rotate <0,0,60>
}
}
define PreviewSphere
object {
sphere <0,0,0>,1
PreviewTexture
}
define PreviewCube
object {
box <-1,-1,-1>,<1,1,1>
PreviewTexture
rotate <0,0,60>
}
define PreviewPlane
object {
polynomial z
PreviewTexture
}
define PreviewDisc
object {
disc <0,0,0>, <0,0,1> , 1.0
PreviewTexture
scale <1.5,1.5,1.5>
}
define PreviewCylinder
object {
object { cylinder <0,0,1.001>, <0,0,-0.001>, 1 }
* object { disc <0,0,0>, <0,0,-1>,1.001 }
* object { disc <0,0,1>, <0,0,1>,1.001 }
PreviewTexture
scale <1,1,2>
translate <0,0,-1>
}